{eval $_TPL['title'][]='用户登陆';}
{template header}
<div id="login_div">
    <form action="login.php?ac={$ac}" method="post">
        <input type="hidden" name="formhash" value="{eval echo Utils::formhash();}"/>
        <table class="form_table" cellpadding="0" cellspacing="0">
            <thead>
                <tr><td colspan="2">用户登陆</td></tr>
            </thead>
            <tr>
                <th>用户名：</th>
                <td><input name="username" type="text" class="i_input" /></td>
            </tr>
            <tr>
                <th>密码：</th>
                <td><input name="password" type="password" class="i_input" /></td>
            </tr>
            {if !empty($errorMsg)}
            <tr>
                <th>&nbsp;</th>
                <td>{$errorMsg}</td>
            </tr>
            {/if}
            <tr>
                <th>&nbsp;</th>
                <td><input name="loginsubmit" type="submit" value="登陆" class="i_submit"/></td>
            </tr>
        </table>
    </form>
</div>
{template footer}